package com.heima.model.behavior.pojos;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author chen
 * @since 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ap_behavior")
public class ApBehavior implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private Long articleId;

    /**
     * 0文章  1动态   2评论
     */
    private Integer type;

    /**
     * 0 点赞   1 取消点赞
     */
    private Integer isLikes;

    /**
     * 0 不喜欢      1 取消不喜欢
     */
    private Integer isUnlikes;

    /**
     * 0收藏    1取消收藏
     */
    private Integer isCollection;

    /**
     * 0关注 1未关注
     */
    private Integer isFollow;

    /**
     * 阅读次数
     */
    private Integer count;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

}
